ensure_locked_account

function ensure_locked_account(reason: text, account: account): account